gridpack::mapper::GenVectorMap< _network > Class Template Reference
#include <gen_vector_map.hpp>
List of all members.
template<class _network>
class gridpack::mapper::GenVectorMap< _network >
Constructor & Destructor Documentation
template<class _network >
Initialize mapper for the given network and the current mode. Create global arrays that contain offsets that will be used to create vector from the network component objects
- Parameters:
-
template<class _network >
Member Function Documentation
template<class _network >
Generate vector from current component state on network and return a conventional pointer to it. Used for Fortran interface.
- Returns:
- return a pointer to new vector
template<class _network >
template<class _network >
Push data from vector onto buses and branches. Vector must be created with the mapToVector method using the same GenVectorMap
- Parameters:
-
| vector | vector containing data to be pushed to network |
template<class _network >
template<class _network >
Reset existing vector from current component state on network
- Parameters:
-
| vector | existing vector (should be generated from same mapper) |
template<class _network >
Generate vector from current component state on network
- Returns:
- return a pointer to new vector
The documentation for this class was generated from the following file: